<?php

$sql = "delete from " . $BIAOTOU . $menu . " where id='" . $_GET["id"] . "' limit 1";
mysql_query($sql);
$sql = "delete from " . $BIAOTOU . $access . " where menu_id='" . $_GET["id"] . "' limit 1";
mysql_query($sql);

$sql = "delete from " . $BIAOTOU . $menu . " where parentid='" . $_GET["id"] . "'";
mysql_query($sql);
$sql = "delete from " . $BIAOTOU . $access . " where parentid='" . $_GET["id"] . "'";
mysql_query($sql);



echo alert('删除成功', 'admin.php?act=menulist');

?>